﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyPSDALayer;

namespace MyPS.Controllers
{
    public class PaymentController : Controller
    {
        MyPSEntities db = new MyPSEntities();

        public ActionResult Index()
        {                                                       
            return View(db.Payments.ToList());
        }

        protected override void Dispose(bool disposing)
        {
            db.Dispose();
            base.Dispose(disposing);
        }
    }
}
